package com.jnu.myfirstapplication.data;

import java.io.Serializable;

public class Book implements Serializable {
    private int bookid;
    private String name;
    private String Author;
    private String Translator;
    private String Publisher;
    private String PubDate;
    private String ISBN;
    private int ReadingState;
    private int BookShelf;
    private String Notes;
    private String Label;
    private String Website;


    public int getReadingState() {
        return ReadingState;
    }

    public void setReadingState(int readingState) {
        ReadingState = readingState;
    }

    public int getBookShelf() {
        return BookShelf;
    }

    public void setBookShelf(int bookShelf) {
        BookShelf = bookShelf;
    }

    public String getNotes() {
        return Notes;
    }

    public void setNotes(String notes) {
        Notes = notes;
    }

    public String getLabel() {
        return Label;
    }

    public void setLabel(String label) {
        Label = label;
    }

    public String getWebsite() {
        return Website;
    }

    public void setWebsite(String website) {
        Website = website;
    }

    public String getAuthor() {
        return Author;
    }

    public void setAuthor(String author) {
        Author = author;
    }

    public String getTranslator() {
        return Translator;
    }

    public void setTranslator(String translator) {
        Translator = translator;
    }

    public String getPublisher() {
        return Publisher;
    }

    public void setPublisher(String publisher) {
        Publisher = publisher;
    }

    public String getPubDate() {
        return PubDate;
    }

    public void setPubDate(String pubDate) {
        PubDate = pubDate;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }



    private static final long serialVersionUID = 2L;
    public void setPrice(double price) {
        this.price = price;
    }

    private double price;

    public double getPrice() {
        return price;
    }

    public Book(String name, int id,String Author,String Translator,String Publisher,String PubDate,String ISBN,int ReadingState,int BookShelf,
                String Notes,String Label,String Website,int position) {
        this.name = name;
        this.bookid = id;
        this.Author=Author;
        this.Translator=Translator;
        this.Publisher=Publisher;
        this.PubDate=PubDate;
        this.ISBN=ISBN;
        this.ReadingState=ReadingState;
        this.BookShelf=BookShelf;
        this.Notes=Notes;
        this.Label=Label;
        this.Website=Website;
        this.position=position;
    }

    public int getCoverResourceId() {
        return bookid;
    }

    public String getTitle() {
        return name;
    }

    public void setTitle(String title) {
        this.name = title;
    }

    public void setId(int id) {
        this.bookid = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    String uuid;

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    int position;
}
